import { Hurt } from "../class/Hurt";
import { Role } from "../class/Role";
import { FengHuangHuoXian } from "../methods/凤凰火线";
/**
 * 马红俊
 */
export class MaHongJun extends Role {
    protected MAXHP: number = 12000;
    protected HP: number = 12000;
    protected PD: number = 1000;
    protected MD: number = 1000;
    protected PA: number = 800;
    protected MA: number = 500;
    static roleName: string = "马红俊";
    static roleDescription = "玩火的少年，拥有者极强的火属性能力，每次被攻击，都能使攻击者扣除 100 点生命值。"
    static methods = [FengHuangHuoXian]
    onHurt(role: Role, hurt: Hurt) {
        const _hurt = super.onHurt(role, hurt);
        role.setHP(-100);
        return _hurt;
    }
}